package com.stylefeng.guns.common.persistence.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lmshe
 * @since 2018-07-12
 */
@TableName("w_application_tab")
public class ApplicationTab extends Model<ApplicationTab> {

    private static final long serialVersionUID = 1L;

    /**
     * 应用id
     */
    @TableId("app_id")
	private String appId;
    /**
     * 应用key
     */
	@TableField("app_key")
	private String appKey;
    /**
     * 应用密钥
     */
	@TableField("app_secret")
	private String appSecret;
    /**
     * 申请人
     */
	private String applicant;
    /**
     * 手机号
     */
	@TableField("applicant_mobile")
	private String applicantMobile;
    /**
     * 申请人邮箱
     */
	@TableField("applicant_email")
	private String applicantEmail;
    /**
     * 申请企业
     */
	@TableField("applicant_company")
	private String applicantCompany;
    /**
     * 承运商代码
     */
	@TableField("logistics_id")
	private String logisticsId;
    /**
     * 创建时间
     */
	private Date createtime;


	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getApplicant() {
		return applicant;
	}

	public void setApplicant(String applicant) {
		this.applicant = applicant;
	}

	public String getApplicantMobile() {
		return applicantMobile;
	}

	public void setApplicantMobile(String applicantMobile) {
		this.applicantMobile = applicantMobile;
	}

	public String getApplicantEmail() {
		return applicantEmail;
	}

	public void setApplicantEmail(String applicantEmail) {
		this.applicantEmail = applicantEmail;
	}

	public String getApplicantCompany() {
		return applicantCompany;
	}

	public void setApplicantCompany(String applicantCompany) {
		this.applicantCompany = applicantCompany;
	}

	public String getLogisticsId() {
		return logisticsId;
	}

	public void setLogisticsId(String logisticsId) {
		this.logisticsId = logisticsId;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Override
	protected Serializable pkVal() {
		return this.appId;
	}

	@Override
	public String toString() {
		return "ApplicationTab{" +
			"appId=" + appId +
			", appKey=" + appKey +
			", appSecret=" + appSecret +
			", applicant=" + applicant +
			", applicantMobile=" + applicantMobile +
			", applicantEmail=" + applicantEmail +
			", applicantCompany=" + applicantCompany +
			", logisticsId=" + logisticsId +
			", createtime=" + createtime +
			"}";
	}
}
